Optimal. Leaf size=25 \[ \frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 b x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2039}
\begin {gather*} \frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 b x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2039
Rubi steps
\begin {align*} \int \frac {\sqrt {a x^2+b x^3}}{x} \, dx &=\frac {2 \left (a x^2+b x^3\right )^{3/2}}{3 b x^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 23, normalized size = 0.92 \begin {gather*} \frac {2 \left (x^2 (a+b x)\right )^{3/2}}{3 b x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 27, normalized size = 1.08
method | result | size |
risch | \(\frac {2 \sqrt {x^{2} \left (b x +a \right )}\, \left (b x +a \right )}{3 x b}\) | \(25\) |
gosper | \(\frac {2 \left (b x +a \right ) \sqrt {b \,x^{3}+a \,x^{2}}}{3 b x}\) | \(27\) |
default | \(\frac {2 \left (b x +a \right ) \sqrt {b \,x^{3}+a \,x^{2}}}{3 b x}\) | \(27\) |
trager | \(\frac {2 \left (b x +a \right ) \sqrt {b \,x^{3}+a \,x^{2}}}{3 b x}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 12, normalized size = 0.48 \begin {gather*} \frac {2 \, {\left (b x + a\right )}^{\frac {3}{2}}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.35, size = 26, normalized size = 1.04 \begin {gather*} \frac {2 \, \sqrt {b x^{3} + a x^{2}} {\left (b x + a\right )}}{3 \, b x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x^{2} \left (a + b x\right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 50 vs.
\(2 (21) = 42\).
time = 1.52, size = 50, normalized size = 2.00 \begin {gather*} -\frac {2 \, a^{\frac {3}{2}} \mathrm {sgn}\left (x\right )}{3 \, b} + \frac {2 \, {\left (3 \, \sqrt {b x + a} a \mathrm {sgn}\left (x\right ) + {\left ({\left (b x + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {b x + a} a\right )} \mathrm {sgn}\left (x\right )\right )}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {\sqrt {b\,x^3+a\,x^2}}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________